package org.example.service.impl;

import org.example.entity.Employees;
import org.example.repository.EmployeesMapper;
import org.example.service.EmployeesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author liyishan
 * @date 2024/7/11 15:01
 * @apiNote
 */
@Service
public class EmployeesServiceImpl implements EmployeesService {
    @Autowired
    private EmployeesMapper employeesMapper;
    @Override
    public int save(Employees employees) {
        return employeesMapper.insertSelective(employees);
    }
}
